package com.snopy.designPattern.structure.decorator.inter;

/**
 * @author snopy
 * @version 1.0.0
 * @classname WindowDecotator
 * @description
 * @email 77912204@qq.com
 * @date 2022/03/03 11:46
 */
public abstract class WindowDecotator implements Window{
    protected Window window;

    public WindowDecotator(Window window) {
        this.window = window;
    }


    @Override
    public void draw() {
        window.draw();
    }

    @Override
    public String getDescription() {
        return window.getDescription();
    }
}
